﻿
namespace PopMail
{
    /// <summary>
    /// Public interface for setting up Pop3 credentials
    /// </summary>
    interface IPOP3Credentials
    {
        /// <summary>
        /// Method to assert credentials
        /// </summary>
        /// <returns></returns>
        bool AssertCredentials();

        /// <summary>
        /// Password
        /// </summary>
        string Password { get; }

        /// <summary>
        /// Port
        /// </summary>
        int Port { get; }

        /// <summary>
        /// Server
        /// </summary>
        string Server { get; }
        
        /// <summary>
        /// User
        /// </summary>
        string User { get; }
    }
}